package com.client.service.impl;

import com.client.pojo.SecurityQuestions;
import com.client.dao.SecurityQuestionsDao;
import com.client.service.SecurityQuestionsService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 用户密保问题表 服务实现类
 * </p>
 *
 * @author ckick
 * @since 2025-09-20 08:28:54
 */
@Service
public class SecurityQuestionsServiceImpl extends ServiceImpl<SecurityQuestionsDao, SecurityQuestions> implements SecurityQuestionsService {
    @Autowired
    private SecurityQuestionsDao securityQuestionsDao;
    @Override
    public int countById(Integer userId) {
        return securityQuestionsDao.countById(userId);
    }
}
